<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Network BFS: Referencia del Archivo edge.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generado por Doxygen 1.6.1 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Página&nbsp;principal</span></a></li>
      <li><a href="annotated.html"><span>Clases</span></a></li>
      <li class="current"><a href="files.html"><span>Archivos</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Buscar" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>Lista&nbsp;de&nbsp;archivos</span></a></li>
      <li><a href="globals.html"><span>Miembros&nbsp;de&nbsp;los&nbsp;ficheros</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Referencia del Archivo edge.h</h1><code>#include &lt;stdbool.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="node_8h_source.html">node.h</a>&quot;</code><br/>

<p><a href="edge_8h_source.html">Ir al código fuente de este archivo.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Tipos definidos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac5be8486b466dcf5fb0a416dfd6b7e69"></a><!-- doxytag: member="edge.h::edge" ref="ac5be8486b466dcf5fb0a416dfd6b7e69" args="" -->
typedef struct <a class="el" href="structs_edge.html">sEdge</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>edge</b></td></tr>
<tr><td colspan="2"><h2>Funciones</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structs_edge.html">edge</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="edge_8h.html#a71540cb597320644127615fe5557f907">edge_create</a> (const <a class="el" href="structs_node.html">node</a> n, const unsigned int cap)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structs_edge.html">edge</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="edge_8h.html#afa88a042a4685383ada2273fffd3cce8">edge_destroy</a> (<a class="el" href="structs_edge.html">edge</a> e)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="edge_8h.html#addc7ffa56e5ca3939df8d2ec2bf6fdc3">edge_getCap</a> (const <a class="el" href="structs_edge.html">edge</a> e)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structs_node.html">node</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="edge_8h.html#a75ca4cb6386fdeed844423a5008aad75">edge_getNeighbor</a> (<a class="el" href="structs_edge.html">edge</a> e)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Descripción detallada</h2>
<hr/><h2>Documentación de las funciones</h2>
<a class="anchor" id="a71540cb597320644127615fe5557f907"></a><!-- doxytag: member="edge.h::edge_create" ref="a71540cb597320644127615fe5557f907" args="(const node n, const unsigned int cap)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structs_edge.html">edge</a> edge_create </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structs_node.html">node</a>&nbsp;</td>
          <td class="paramname"> <em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const unsigned int&nbsp;</td>
          <td class="paramname"> <em>cap</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructor de una arista. Cada arista está asociada a un vértice, el nodo de destino. El nodo de origen no debe ser especificado. </p>
<dl><dt><b>Parámetros:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>n</em>&nbsp;</td><td>Nodo asociado a la arista que será construida. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>cap</em>&nbsp;</td><td>Capacidad de la arista. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Devuelve:</b></dt><dd>Una arista. </dd></dl>

</div>
</div>
<a class="anchor" id="afa88a042a4685383ada2273fffd3cce8"></a><!-- doxytag: member="edge.h::edge_destroy" ref="afa88a042a4685383ada2273fffd3cce8" args="(edge e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structs_edge.html">edge</a> edge_destroy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structs_edge.html">edge</a>&nbsp;</td>
          <td class="paramname"> <em>e</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destructor de una arista. </p>
<dl><dt><b>Parámetros:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>e</em>&nbsp;</td><td>Arista que será destruida. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Devuelve:</b></dt><dd>NULL. </dd></dl>

</div>
</div>
<a class="anchor" id="addc7ffa56e5ca3939df8d2ec2bf6fdc3"></a><!-- doxytag: member="edge.h::edge_getCap" ref="addc7ffa56e5ca3939df8d2ec2bf6fdc3" args="(const edge e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int edge_getCap </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structs_edge.html">edge</a>&nbsp;</td>
          <td class="paramname"> <em>e</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Devuelve la capacidad de una arista. </p>
<dl><dt><b>Parámetros:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>e</em>&nbsp;</td><td>Arista cuya capacidad será retornada. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Devuelve:</b></dt><dd>Capacidad de la arista. </dd></dl>

</div>
</div>
<a class="anchor" id="a75ca4cb6386fdeed844423a5008aad75"></a><!-- doxytag: member="edge.h::edge_getNeighbor" ref="a75ca4cb6386fdeed844423a5008aad75" args="(edge e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structs_node.html">node</a> edge_getNeighbor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structs_edge.html">edge</a>&nbsp;</td>
          <td class="paramname"> <em>e</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Devuelve el nodo de destino asociado a una arista. </p>
<dl><dt><b>Parámetros:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>e</em>&nbsp;</td><td>Arista cuyo nodo será devuelto. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Devuelve:</b></dt><dd>Nodo de destino. </dd></dl>

</div>
</div>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>Todo</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Clases</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Archivos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Funciones</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr size="1"/><address style="text-align: right;"><small>Generado el Wed Apr 13 17:47:44 2011 para Network BFS por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>
